<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>修改地址</title>
    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">

    <link rel="stylesheet" href="css/changeAdress.css">

    <!--引入的jQuery-->
    <script src="lib/jquery.min.js" type="text/javascript"></script>

    <!--引入Switch-->
    <link rel="stylesheet"href="css/switch/bootstrap-switch.css">



    <link rel="stylesheet" type="text/css" href="css/jquery-weui.min.css" />







</head>


<body>
<div class="container">



    <p class="text-center" style="margin-top: 20px">
        <a href="javascript:history.back(-1)"><span class="glyphicon glyphicon-chevron-left iconBack" aria-hidden="true" ></span></a>
        修改地址
    </p>
    <hr>

    <div class="cAdress">
        <div class="input-group-lg">
            <input type="text" class="form-control " value="收货人" aria-describedby="basic-addon2">
        </div>
        <div class="input-group-lg">
            <input type="text" class="form-control" value="手机号码" aria-describedby="basic-addon2">
        </div>
        <div class="input-group-lg">
            <input type='text' id='city-picker' class="form-control" placeholder='请选择省市区县' />
        </div>
        <textarea class="comments form-control " rows="5" cols="5" >详细地址：如道路、门牌号、小区、楼栋号、单元等</textarea>

        <div class="moren">
            <p>设为默认地址</p>
            <input class="form-control select" type="checkbox" checked>
        </div>
    </div>

    <button class="btn btn-success form-control">保存</button>




</div>


















<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>

<script type="text/javascript" src="js/changeAdress/jquery-weui.min.js"></script>
<script type="text/javascript" src="js/changeAdress/city-picker.min.js"></script>
<script type="text/javascript" src="js/changeAdress/bootstrap-switch.js"></script>
<script>
    $("#city-picker").cityPicker({
        title: "选择省市区/县",
        onChange: function (picker, values, displayValues) {
            console.log(values, displayValues);
        }
    });

    $(function(argument) {
        $('[type="checkbox"]').bootstrapSwitch({});
    })
</script>

</body>
</html>